﻿using UnityEngine;

public class ColliderCore_Circle : ColliderCore
{
    // 圆形
    public float m_fRadius;
    // Use this for initialization


    public void DoInit(float fRadius)
    {
        m_fRadius = fRadius;
    }

#if UNITY_EDITOR
    void OnDrawGizmos()
    {
        if (!m_bShow)
            return;
        Gizmos.matrix = gameObject.transform.localToWorldMatrix;
        Gizmos.color = m_Color;
        DrawTools.DrawPillar(m_CurPos, m_fRadius, 0, m_fHeight);
    }
#endif
}
